package jou.cs.mapper;

import jou.cs.entity.TQus;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface QusRepository extends JpaRepository<TQus, Long> {
    List<TQus> findAllByUid(Long uid);
    Page<TQus> findAllByUid(Long uid, Pageable page);
    List<TQus> findAllByPid(Long pid);
}
